package com.example.demo.model.admin.admin.controler;

import com.example.demo.model.admin.admin.service.ShopAdminService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author CHOKSTAHYW
 * @date 2021/10/2 - 13:14
 */

@Api(tags = "管理员操作")
@Slf4j
@RestController
@RequestMapping("/admin/shopAdminPage")
public class ShopAdminPageResource {

    @Autowired
    ShopAdminService shopAdminService;

    @GetMapping("/editPass")
    @ApiOperation(value = "管理员修改页面", notes = "管理员修改密码页面")
    public ModelAndView editPass() {


        return shopAdminService.editPass();

    }


}
